﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace MM.Common.Base
{
    [StructLayout(LayoutKind.Sequential)]
    public struct ReceiveFunctionInformation
    {
        private string _Code;
        private object _Body;
        private DateTime _ReceiveTime;
        public ReceiveFunctionInformation(string code, object body)
        {
            this._Code = code;
            this._Body = body;
            this._ReceiveTime = DateTime.Now;
        }

        public string Code
        {
            get
            {
                return this._Code;
            }
            set
            {
                this._Code = value;
            }
        }
        public object Body
        {
            get
            {
                return this._Body;
            }
            set
            {
                this._Body = value;
            }
        }
        public DateTime ReceiveTime
        {
            get
            {
                return this._ReceiveTime;
            }
            set
            {
                this._ReceiveTime = value;
            }
        }
    }
}
